import { del, get, post } from '../../../config/axios'
import { IResponse } from '../../../config/axios/type'
import { loginData } from '../../store/userStore/types'

enum TINFOTEXTCONTENT_URL {
  LISTALL = '/tInfoTextContent/listAll'
}

export default {
  listAll: async (subjectId: number, level: number) =>
    get<IResponse>({ url: TINFOTEXTCONTENT_URL.LISTALL + '/' + subjectId + '/' + level })
}
